package com.strato.queue.v1_0_0.jdbc.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class QueueMessageLogExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public QueueMessageLogExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andQueueMessageLogIdIsNull() {
            addCriterion("queue_message_log_id is null");
            return (Criteria) this;
        }

        public Criteria andQueueMessageLogIdIsNotNull() {
            addCriterion("queue_message_log_id is not null");
            return (Criteria) this;
        }

        public Criteria andQueueMessageLogIdEqualTo(String value) {
            addCriterion("queue_message_log_id =", value, "queueMessageLogId");
            return (Criteria) this;
        }

        public Criteria andQueueMessageLogIdNotEqualTo(String value) {
            addCriterion("queue_message_log_id <>", value, "queueMessageLogId");
            return (Criteria) this;
        }

        public Criteria andQueueMessageLogIdGreaterThan(String value) {
            addCriterion("queue_message_log_id >", value, "queueMessageLogId");
            return (Criteria) this;
        }

        public Criteria andQueueMessageLogIdGreaterThanOrEqualTo(String value) {
            addCriterion("queue_message_log_id >=", value, "queueMessageLogId");
            return (Criteria) this;
        }

        public Criteria andQueueMessageLogIdLessThan(String value) {
            addCriterion("queue_message_log_id <", value, "queueMessageLogId");
            return (Criteria) this;
        }

        public Criteria andQueueMessageLogIdLessThanOrEqualTo(String value) {
            addCriterion("queue_message_log_id <=", value, "queueMessageLogId");
            return (Criteria) this;
        }

        public Criteria andQueueMessageLogIdLike(String value) {
            addCriterion("queue_message_log_id like", value, "queueMessageLogId");
            return (Criteria) this;
        }

        public Criteria andQueueMessageLogIdNotLike(String value) {
            addCriterion("queue_message_log_id not like", value, "queueMessageLogId");
            return (Criteria) this;
        }

        public Criteria andQueueMessageLogIdIn(List<String> values) {
            addCriterion("queue_message_log_id in", values, "queueMessageLogId");
            return (Criteria) this;
        }

        public Criteria andQueueMessageLogIdNotIn(List<String> values) {
            addCriterion("queue_message_log_id not in", values, "queueMessageLogId");
            return (Criteria) this;
        }

        public Criteria andQueueMessageLogIdBetween(String value1, String value2) {
            addCriterion("queue_message_log_id between", value1, value2, "queueMessageLogId");
            return (Criteria) this;
        }

        public Criteria andQueueMessageLogIdNotBetween(String value1, String value2) {
            addCriterion("queue_message_log_id not between", value1, value2, "queueMessageLogId");
            return (Criteria) this;
        }

        public Criteria andQueueMessageIdIsNull() {
            addCriterion("queue_message_id is null");
            return (Criteria) this;
        }

        public Criteria andQueueMessageIdIsNotNull() {
            addCriterion("queue_message_id is not null");
            return (Criteria) this;
        }

        public Criteria andQueueMessageIdEqualTo(String value) {
            addCriterion("queue_message_id =", value, "queueMessageId");
            return (Criteria) this;
        }

        public Criteria andQueueMessageIdNotEqualTo(String value) {
            addCriterion("queue_message_id <>", value, "queueMessageId");
            return (Criteria) this;
        }

        public Criteria andQueueMessageIdGreaterThan(String value) {
            addCriterion("queue_message_id >", value, "queueMessageId");
            return (Criteria) this;
        }

        public Criteria andQueueMessageIdGreaterThanOrEqualTo(String value) {
            addCriterion("queue_message_id >=", value, "queueMessageId");
            return (Criteria) this;
        }

        public Criteria andQueueMessageIdLessThan(String value) {
            addCriterion("queue_message_id <", value, "queueMessageId");
            return (Criteria) this;
        }

        public Criteria andQueueMessageIdLessThanOrEqualTo(String value) {
            addCriterion("queue_message_id <=", value, "queueMessageId");
            return (Criteria) this;
        }

        public Criteria andQueueMessageIdLike(String value) {
            addCriterion("queue_message_id like", value, "queueMessageId");
            return (Criteria) this;
        }

        public Criteria andQueueMessageIdNotLike(String value) {
            addCriterion("queue_message_id not like", value, "queueMessageId");
            return (Criteria) this;
        }

        public Criteria andQueueMessageIdIn(List<String> values) {
            addCriterion("queue_message_id in", values, "queueMessageId");
            return (Criteria) this;
        }

        public Criteria andQueueMessageIdNotIn(List<String> values) {
            addCriterion("queue_message_id not in", values, "queueMessageId");
            return (Criteria) this;
        }

        public Criteria andQueueMessageIdBetween(String value1, String value2) {
            addCriterion("queue_message_id between", value1, value2, "queueMessageId");
            return (Criteria) this;
        }

        public Criteria andQueueMessageIdNotBetween(String value1, String value2) {
            addCriterion("queue_message_id not between", value1, value2, "queueMessageId");
            return (Criteria) this;
        }

        public Criteria andMessageTypeIsNull() {
            addCriterion("message_type is null");
            return (Criteria) this;
        }

        public Criteria andMessageTypeIsNotNull() {
            addCriterion("message_type is not null");
            return (Criteria) this;
        }

        public Criteria andMessageTypeEqualTo(String value) {
            addCriterion("message_type =", value, "messageType");
            return (Criteria) this;
        }

        public Criteria andMessageTypeNotEqualTo(String value) {
            addCriterion("message_type <>", value, "messageType");
            return (Criteria) this;
        }

        public Criteria andMessageTypeGreaterThan(String value) {
            addCriterion("message_type >", value, "messageType");
            return (Criteria) this;
        }

        public Criteria andMessageTypeGreaterThanOrEqualTo(String value) {
            addCriterion("message_type >=", value, "messageType");
            return (Criteria) this;
        }

        public Criteria andMessageTypeLessThan(String value) {
            addCriterion("message_type <", value, "messageType");
            return (Criteria) this;
        }

        public Criteria andMessageTypeLessThanOrEqualTo(String value) {
            addCriterion("message_type <=", value, "messageType");
            return (Criteria) this;
        }

        public Criteria andMessageTypeLike(String value) {
            addCriterion("message_type like", value, "messageType");
            return (Criteria) this;
        }

        public Criteria andMessageTypeNotLike(String value) {
            addCriterion("message_type not like", value, "messageType");
            return (Criteria) this;
        }

        public Criteria andMessageTypeIn(List<String> values) {
            addCriterion("message_type in", values, "messageType");
            return (Criteria) this;
        }

        public Criteria andMessageTypeNotIn(List<String> values) {
            addCriterion("message_type not in", values, "messageType");
            return (Criteria) this;
        }

        public Criteria andMessageTypeBetween(String value1, String value2) {
            addCriterion("message_type between", value1, value2, "messageType");
            return (Criteria) this;
        }

        public Criteria andMessageTypeNotBetween(String value1, String value2) {
            addCriterion("message_type not between", value1, value2, "messageType");
            return (Criteria) this;
        }

        public Criteria andParam1IsNull() {
            addCriterion("param1 is null");
            return (Criteria) this;
        }

        public Criteria andParam1IsNotNull() {
            addCriterion("param1 is not null");
            return (Criteria) this;
        }

        public Criteria andParam1EqualTo(String value) {
            addCriterion("param1 =", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1NotEqualTo(String value) {
            addCriterion("param1 <>", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1GreaterThan(String value) {
            addCriterion("param1 >", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1GreaterThanOrEqualTo(String value) {
            addCriterion("param1 >=", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1LessThan(String value) {
            addCriterion("param1 <", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1LessThanOrEqualTo(String value) {
            addCriterion("param1 <=", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1Like(String value) {
            addCriterion("param1 like", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1NotLike(String value) {
            addCriterion("param1 not like", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1In(List<String> values) {
            addCriterion("param1 in", values, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1NotIn(List<String> values) {
            addCriterion("param1 not in", values, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1Between(String value1, String value2) {
            addCriterion("param1 between", value1, value2, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1NotBetween(String value1, String value2) {
            addCriterion("param1 not between", value1, value2, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1ValueIsNull() {
            addCriterion("param1_value is null");
            return (Criteria) this;
        }

        public Criteria andParam1ValueIsNotNull() {
            addCriterion("param1_value is not null");
            return (Criteria) this;
        }

        public Criteria andParam1ValueEqualTo(String value) {
            addCriterion("param1_value =", value, "param1Value");
            return (Criteria) this;
        }

        public Criteria andParam1ValueNotEqualTo(String value) {
            addCriterion("param1_value <>", value, "param1Value");
            return (Criteria) this;
        }

        public Criteria andParam1ValueGreaterThan(String value) {
            addCriterion("param1_value >", value, "param1Value");
            return (Criteria) this;
        }

        public Criteria andParam1ValueGreaterThanOrEqualTo(String value) {
            addCriterion("param1_value >=", value, "param1Value");
            return (Criteria) this;
        }

        public Criteria andParam1ValueLessThan(String value) {
            addCriterion("param1_value <", value, "param1Value");
            return (Criteria) this;
        }

        public Criteria andParam1ValueLessThanOrEqualTo(String value) {
            addCriterion("param1_value <=", value, "param1Value");
            return (Criteria) this;
        }

        public Criteria andParam1ValueLike(String value) {
            addCriterion("param1_value like", value, "param1Value");
            return (Criteria) this;
        }

        public Criteria andParam1ValueNotLike(String value) {
            addCriterion("param1_value not like", value, "param1Value");
            return (Criteria) this;
        }

        public Criteria andParam1ValueIn(List<String> values) {
            addCriterion("param1_value in", values, "param1Value");
            return (Criteria) this;
        }

        public Criteria andParam1ValueNotIn(List<String> values) {
            addCriterion("param1_value not in", values, "param1Value");
            return (Criteria) this;
        }

        public Criteria andParam1ValueBetween(String value1, String value2) {
            addCriterion("param1_value between", value1, value2, "param1Value");
            return (Criteria) this;
        }

        public Criteria andParam1ValueNotBetween(String value1, String value2) {
            addCriterion("param1_value not between", value1, value2, "param1Value");
            return (Criteria) this;
        }

        public Criteria andParam2IsNull() {
            addCriterion("param2 is null");
            return (Criteria) this;
        }

        public Criteria andParam2IsNotNull() {
            addCriterion("param2 is not null");
            return (Criteria) this;
        }

        public Criteria andParam2EqualTo(String value) {
            addCriterion("param2 =", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2NotEqualTo(String value) {
            addCriterion("param2 <>", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2GreaterThan(String value) {
            addCriterion("param2 >", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2GreaterThanOrEqualTo(String value) {
            addCriterion("param2 >=", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2LessThan(String value) {
            addCriterion("param2 <", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2LessThanOrEqualTo(String value) {
            addCriterion("param2 <=", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2Like(String value) {
            addCriterion("param2 like", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2NotLike(String value) {
            addCriterion("param2 not like", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2In(List<String> values) {
            addCriterion("param2 in", values, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2NotIn(List<String> values) {
            addCriterion("param2 not in", values, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2Between(String value1, String value2) {
            addCriterion("param2 between", value1, value2, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2NotBetween(String value1, String value2) {
            addCriterion("param2 not between", value1, value2, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2ValueIsNull() {
            addCriterion("param2_value is null");
            return (Criteria) this;
        }

        public Criteria andParam2ValueIsNotNull() {
            addCriterion("param2_value is not null");
            return (Criteria) this;
        }

        public Criteria andParam2ValueEqualTo(String value) {
            addCriterion("param2_value =", value, "param2Value");
            return (Criteria) this;
        }

        public Criteria andParam2ValueNotEqualTo(String value) {
            addCriterion("param2_value <>", value, "param2Value");
            return (Criteria) this;
        }

        public Criteria andParam2ValueGreaterThan(String value) {
            addCriterion("param2_value >", value, "param2Value");
            return (Criteria) this;
        }

        public Criteria andParam2ValueGreaterThanOrEqualTo(String value) {
            addCriterion("param2_value >=", value, "param2Value");
            return (Criteria) this;
        }

        public Criteria andParam2ValueLessThan(String value) {
            addCriterion("param2_value <", value, "param2Value");
            return (Criteria) this;
        }

        public Criteria andParam2ValueLessThanOrEqualTo(String value) {
            addCriterion("param2_value <=", value, "param2Value");
            return (Criteria) this;
        }

        public Criteria andParam2ValueLike(String value) {
            addCriterion("param2_value like", value, "param2Value");
            return (Criteria) this;
        }

        public Criteria andParam2ValueNotLike(String value) {
            addCriterion("param2_value not like", value, "param2Value");
            return (Criteria) this;
        }

        public Criteria andParam2ValueIn(List<String> values) {
            addCriterion("param2_value in", values, "param2Value");
            return (Criteria) this;
        }

        public Criteria andParam2ValueNotIn(List<String> values) {
            addCriterion("param2_value not in", values, "param2Value");
            return (Criteria) this;
        }

        public Criteria andParam2ValueBetween(String value1, String value2) {
            addCriterion("param2_value between", value1, value2, "param2Value");
            return (Criteria) this;
        }

        public Criteria andParam2ValueNotBetween(String value1, String value2) {
            addCriterion("param2_value not between", value1, value2, "param2Value");
            return (Criteria) this;
        }

        public Criteria andParam3IsNull() {
            addCriterion("param3 is null");
            return (Criteria) this;
        }

        public Criteria andParam3IsNotNull() {
            addCriterion("param3 is not null");
            return (Criteria) this;
        }

        public Criteria andParam3EqualTo(String value) {
            addCriterion("param3 =", value, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3NotEqualTo(String value) {
            addCriterion("param3 <>", value, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3GreaterThan(String value) {
            addCriterion("param3 >", value, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3GreaterThanOrEqualTo(String value) {
            addCriterion("param3 >=", value, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3LessThan(String value) {
            addCriterion("param3 <", value, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3LessThanOrEqualTo(String value) {
            addCriterion("param3 <=", value, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3Like(String value) {
            addCriterion("param3 like", value, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3NotLike(String value) {
            addCriterion("param3 not like", value, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3In(List<String> values) {
            addCriterion("param3 in", values, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3NotIn(List<String> values) {
            addCriterion("param3 not in", values, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3Between(String value1, String value2) {
            addCriterion("param3 between", value1, value2, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3NotBetween(String value1, String value2) {
            addCriterion("param3 not between", value1, value2, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3ValueIsNull() {
            addCriterion("param3_value is null");
            return (Criteria) this;
        }

        public Criteria andParam3ValueIsNotNull() {
            addCriterion("param3_value is not null");
            return (Criteria) this;
        }

        public Criteria andParam3ValueEqualTo(String value) {
            addCriterion("param3_value =", value, "param3Value");
            return (Criteria) this;
        }

        public Criteria andParam3ValueNotEqualTo(String value) {
            addCriterion("param3_value <>", value, "param3Value");
            return (Criteria) this;
        }

        public Criteria andParam3ValueGreaterThan(String value) {
            addCriterion("param3_value >", value, "param3Value");
            return (Criteria) this;
        }

        public Criteria andParam3ValueGreaterThanOrEqualTo(String value) {
            addCriterion("param3_value >=", value, "param3Value");
            return (Criteria) this;
        }

        public Criteria andParam3ValueLessThan(String value) {
            addCriterion("param3_value <", value, "param3Value");
            return (Criteria) this;
        }

        public Criteria andParam3ValueLessThanOrEqualTo(String value) {
            addCriterion("param3_value <=", value, "param3Value");
            return (Criteria) this;
        }

        public Criteria andParam3ValueLike(String value) {
            addCriterion("param3_value like", value, "param3Value");
            return (Criteria) this;
        }

        public Criteria andParam3ValueNotLike(String value) {
            addCriterion("param3_value not like", value, "param3Value");
            return (Criteria) this;
        }

        public Criteria andParam3ValueIn(List<String> values) {
            addCriterion("param3_value in", values, "param3Value");
            return (Criteria) this;
        }

        public Criteria andParam3ValueNotIn(List<String> values) {
            addCriterion("param3_value not in", values, "param3Value");
            return (Criteria) this;
        }

        public Criteria andParam3ValueBetween(String value1, String value2) {
            addCriterion("param3_value between", value1, value2, "param3Value");
            return (Criteria) this;
        }

        public Criteria andParam3ValueNotBetween(String value1, String value2) {
            addCriterion("param3_value not between", value1, value2, "param3Value");
            return (Criteria) this;
        }

        public Criteria andParam4IsNull() {
            addCriterion("param4 is null");
            return (Criteria) this;
        }

        public Criteria andParam4IsNotNull() {
            addCriterion("param4 is not null");
            return (Criteria) this;
        }

        public Criteria andParam4EqualTo(String value) {
            addCriterion("param4 =", value, "param4");
            return (Criteria) this;
        }

        public Criteria andParam4NotEqualTo(String value) {
            addCriterion("param4 <>", value, "param4");
            return (Criteria) this;
        }

        public Criteria andParam4GreaterThan(String value) {
            addCriterion("param4 >", value, "param4");
            return (Criteria) this;
        }

        public Criteria andParam4GreaterThanOrEqualTo(String value) {
            addCriterion("param4 >=", value, "param4");
            return (Criteria) this;
        }

        public Criteria andParam4LessThan(String value) {
            addCriterion("param4 <", value, "param4");
            return (Criteria) this;
        }

        public Criteria andParam4LessThanOrEqualTo(String value) {
            addCriterion("param4 <=", value, "param4");
            return (Criteria) this;
        }

        public Criteria andParam4Like(String value) {
            addCriterion("param4 like", value, "param4");
            return (Criteria) this;
        }

        public Criteria andParam4NotLike(String value) {
            addCriterion("param4 not like", value, "param4");
            return (Criteria) this;
        }

        public Criteria andParam4In(List<String> values) {
            addCriterion("param4 in", values, "param4");
            return (Criteria) this;
        }

        public Criteria andParam4NotIn(List<String> values) {
            addCriterion("param4 not in", values, "param4");
            return (Criteria) this;
        }

        public Criteria andParam4Between(String value1, String value2) {
            addCriterion("param4 between", value1, value2, "param4");
            return (Criteria) this;
        }

        public Criteria andParam4NotBetween(String value1, String value2) {
            addCriterion("param4 not between", value1, value2, "param4");
            return (Criteria) this;
        }

        public Criteria andParam4ValueIsNull() {
            addCriterion("param4_value is null");
            return (Criteria) this;
        }

        public Criteria andParam4ValueIsNotNull() {
            addCriterion("param4_value is not null");
            return (Criteria) this;
        }

        public Criteria andParam4ValueEqualTo(String value) {
            addCriterion("param4_value =", value, "param4Value");
            return (Criteria) this;
        }

        public Criteria andParam4ValueNotEqualTo(String value) {
            addCriterion("param4_value <>", value, "param4Value");
            return (Criteria) this;
        }

        public Criteria andParam4ValueGreaterThan(String value) {
            addCriterion("param4_value >", value, "param4Value");
            return (Criteria) this;
        }

        public Criteria andParam4ValueGreaterThanOrEqualTo(String value) {
            addCriterion("param4_value >=", value, "param4Value");
            return (Criteria) this;
        }

        public Criteria andParam4ValueLessThan(String value) {
            addCriterion("param4_value <", value, "param4Value");
            return (Criteria) this;
        }

        public Criteria andParam4ValueLessThanOrEqualTo(String value) {
            addCriterion("param4_value <=", value, "param4Value");
            return (Criteria) this;
        }

        public Criteria andParam4ValueLike(String value) {
            addCriterion("param4_value like", value, "param4Value");
            return (Criteria) this;
        }

        public Criteria andParam4ValueNotLike(String value) {
            addCriterion("param4_value not like", value, "param4Value");
            return (Criteria) this;
        }

        public Criteria andParam4ValueIn(List<String> values) {
            addCriterion("param4_value in", values, "param4Value");
            return (Criteria) this;
        }

        public Criteria andParam4ValueNotIn(List<String> values) {
            addCriterion("param4_value not in", values, "param4Value");
            return (Criteria) this;
        }

        public Criteria andParam4ValueBetween(String value1, String value2) {
            addCriterion("param4_value between", value1, value2, "param4Value");
            return (Criteria) this;
        }

        public Criteria andParam4ValueNotBetween(String value1, String value2) {
            addCriterion("param4_value not between", value1, value2, "param4Value");
            return (Criteria) this;
        }

        public Criteria andParam5IsNull() {
            addCriterion("param5 is null");
            return (Criteria) this;
        }

        public Criteria andParam5IsNotNull() {
            addCriterion("param5 is not null");
            return (Criteria) this;
        }

        public Criteria andParam5EqualTo(String value) {
            addCriterion("param5 =", value, "param5");
            return (Criteria) this;
        }

        public Criteria andParam5NotEqualTo(String value) {
            addCriterion("param5 <>", value, "param5");
            return (Criteria) this;
        }

        public Criteria andParam5GreaterThan(String value) {
            addCriterion("param5 >", value, "param5");
            return (Criteria) this;
        }

        public Criteria andParam5GreaterThanOrEqualTo(String value) {
            addCriterion("param5 >=", value, "param5");
            return (Criteria) this;
        }

        public Criteria andParam5LessThan(String value) {
            addCriterion("param5 <", value, "param5");
            return (Criteria) this;
        }

        public Criteria andParam5LessThanOrEqualTo(String value) {
            addCriterion("param5 <=", value, "param5");
            return (Criteria) this;
        }

        public Criteria andParam5Like(String value) {
            addCriterion("param5 like", value, "param5");
            return (Criteria) this;
        }

        public Criteria andParam5NotLike(String value) {
            addCriterion("param5 not like", value, "param5");
            return (Criteria) this;
        }

        public Criteria andParam5In(List<String> values) {
            addCriterion("param5 in", values, "param5");
            return (Criteria) this;
        }

        public Criteria andParam5NotIn(List<String> values) {
            addCriterion("param5 not in", values, "param5");
            return (Criteria) this;
        }

        public Criteria andParam5Between(String value1, String value2) {
            addCriterion("param5 between", value1, value2, "param5");
            return (Criteria) this;
        }

        public Criteria andParam5NotBetween(String value1, String value2) {
            addCriterion("param5 not between", value1, value2, "param5");
            return (Criteria) this;
        }

        public Criteria andMessageStatusIsNull() {
            addCriterion("message_status is null");
            return (Criteria) this;
        }

        public Criteria andMessageStatusIsNotNull() {
            addCriterion("message_status is not null");
            return (Criteria) this;
        }

        public Criteria andMessageStatusEqualTo(String value) {
            addCriterion("message_status =", value, "messageStatus");
            return (Criteria) this;
        }

        public Criteria andMessageStatusNotEqualTo(String value) {
            addCriterion("message_status <>", value, "messageStatus");
            return (Criteria) this;
        }

        public Criteria andMessageStatusGreaterThan(String value) {
            addCriterion("message_status >", value, "messageStatus");
            return (Criteria) this;
        }

        public Criteria andMessageStatusGreaterThanOrEqualTo(String value) {
            addCriterion("message_status >=", value, "messageStatus");
            return (Criteria) this;
        }

        public Criteria andMessageStatusLessThan(String value) {
            addCriterion("message_status <", value, "messageStatus");
            return (Criteria) this;
        }

        public Criteria andMessageStatusLessThanOrEqualTo(String value) {
            addCriterion("message_status <=", value, "messageStatus");
            return (Criteria) this;
        }

        public Criteria andMessageStatusLike(String value) {
            addCriterion("message_status like", value, "messageStatus");
            return (Criteria) this;
        }

        public Criteria andMessageStatusNotLike(String value) {
            addCriterion("message_status not like", value, "messageStatus");
            return (Criteria) this;
        }

        public Criteria andMessageStatusIn(List<String> values) {
            addCriterion("message_status in", values, "messageStatus");
            return (Criteria) this;
        }

        public Criteria andMessageStatusNotIn(List<String> values) {
            addCriterion("message_status not in", values, "messageStatus");
            return (Criteria) this;
        }

        public Criteria andMessageStatusBetween(String value1, String value2) {
            addCriterion("message_status between", value1, value2, "messageStatus");
            return (Criteria) this;
        }

        public Criteria andMessageStatusNotBetween(String value1, String value2) {
            addCriterion("message_status not between", value1, value2, "messageStatus");
            return (Criteria) this;
        }

        public Criteria andMessageCreatedTimeIsNull() {
            addCriterion("message_created_time is null");
            return (Criteria) this;
        }

        public Criteria andMessageCreatedTimeIsNotNull() {
            addCriterion("message_created_time is not null");
            return (Criteria) this;
        }

        public Criteria andMessageCreatedTimeEqualTo(Date value) {
            addCriterion("message_created_time =", value, "messageCreatedTime");
            return (Criteria) this;
        }

        public Criteria andMessageCreatedTimeNotEqualTo(Date value) {
            addCriterion("message_created_time <>", value, "messageCreatedTime");
            return (Criteria) this;
        }

        public Criteria andMessageCreatedTimeGreaterThan(Date value) {
            addCriterion("message_created_time >", value, "messageCreatedTime");
            return (Criteria) this;
        }

        public Criteria andMessageCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("message_created_time >=", value, "messageCreatedTime");
            return (Criteria) this;
        }

        public Criteria andMessageCreatedTimeLessThan(Date value) {
            addCriterion("message_created_time <", value, "messageCreatedTime");
            return (Criteria) this;
        }

        public Criteria andMessageCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("message_created_time <=", value, "messageCreatedTime");
            return (Criteria) this;
        }

        public Criteria andMessageCreatedTimeIn(List<Date> values) {
            addCriterion("message_created_time in", values, "messageCreatedTime");
            return (Criteria) this;
        }

        public Criteria andMessageCreatedTimeNotIn(List<Date> values) {
            addCriterion("message_created_time not in", values, "messageCreatedTime");
            return (Criteria) this;
        }

        public Criteria andMessageCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("message_created_time between", value1, value2, "messageCreatedTime");
            return (Criteria) this;
        }

        public Criteria andMessageCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("message_created_time not between", value1, value2, "messageCreatedTime");
            return (Criteria) this;
        }

        public Criteria andMessageStartTimeIsNull() {
            addCriterion("message_start_time is null");
            return (Criteria) this;
        }

        public Criteria andMessageStartTimeIsNotNull() {
            addCriterion("message_start_time is not null");
            return (Criteria) this;
        }

        public Criteria andMessageStartTimeEqualTo(Date value) {
            addCriterion("message_start_time =", value, "messageStartTime");
            return (Criteria) this;
        }

        public Criteria andMessageStartTimeNotEqualTo(Date value) {
            addCriterion("message_start_time <>", value, "messageStartTime");
            return (Criteria) this;
        }

        public Criteria andMessageStartTimeGreaterThan(Date value) {
            addCriterion("message_start_time >", value, "messageStartTime");
            return (Criteria) this;
        }

        public Criteria andMessageStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("message_start_time >=", value, "messageStartTime");
            return (Criteria) this;
        }

        public Criteria andMessageStartTimeLessThan(Date value) {
            addCriterion("message_start_time <", value, "messageStartTime");
            return (Criteria) this;
        }

        public Criteria andMessageStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("message_start_time <=", value, "messageStartTime");
            return (Criteria) this;
        }

        public Criteria andMessageStartTimeIn(List<Date> values) {
            addCriterion("message_start_time in", values, "messageStartTime");
            return (Criteria) this;
        }

        public Criteria andMessageStartTimeNotIn(List<Date> values) {
            addCriterion("message_start_time not in", values, "messageStartTime");
            return (Criteria) this;
        }

        public Criteria andMessageStartTimeBetween(Date value1, Date value2) {
            addCriterion("message_start_time between", value1, value2, "messageStartTime");
            return (Criteria) this;
        }

        public Criteria andMessageStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("message_start_time not between", value1, value2, "messageStartTime");
            return (Criteria) this;
        }

        public Criteria andMessageFinishTimeIsNull() {
            addCriterion("message_finish_time is null");
            return (Criteria) this;
        }

        public Criteria andMessageFinishTimeIsNotNull() {
            addCriterion("message_finish_time is not null");
            return (Criteria) this;
        }

        public Criteria andMessageFinishTimeEqualTo(Date value) {
            addCriterion("message_finish_time =", value, "messageFinishTime");
            return (Criteria) this;
        }

        public Criteria andMessageFinishTimeNotEqualTo(Date value) {
            addCriterion("message_finish_time <>", value, "messageFinishTime");
            return (Criteria) this;
        }

        public Criteria andMessageFinishTimeGreaterThan(Date value) {
            addCriterion("message_finish_time >", value, "messageFinishTime");
            return (Criteria) this;
        }

        public Criteria andMessageFinishTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("message_finish_time >=", value, "messageFinishTime");
            return (Criteria) this;
        }

        public Criteria andMessageFinishTimeLessThan(Date value) {
            addCriterion("message_finish_time <", value, "messageFinishTime");
            return (Criteria) this;
        }

        public Criteria andMessageFinishTimeLessThanOrEqualTo(Date value) {
            addCriterion("message_finish_time <=", value, "messageFinishTime");
            return (Criteria) this;
        }

        public Criteria andMessageFinishTimeIn(List<Date> values) {
            addCriterion("message_finish_time in", values, "messageFinishTime");
            return (Criteria) this;
        }

        public Criteria andMessageFinishTimeNotIn(List<Date> values) {
            addCriterion("message_finish_time not in", values, "messageFinishTime");
            return (Criteria) this;
        }

        public Criteria andMessageFinishTimeBetween(Date value1, Date value2) {
            addCriterion("message_finish_time between", value1, value2, "messageFinishTime");
            return (Criteria) this;
        }

        public Criteria andMessageFinishTimeNotBetween(Date value1, Date value2) {
            addCriterion("message_finish_time not between", value1, value2, "messageFinishTime");
            return (Criteria) this;
        }

        public Criteria andMessageTimeoutTimeIsNull() {
            addCriterion("message_timeout_time is null");
            return (Criteria) this;
        }

        public Criteria andMessageTimeoutTimeIsNotNull() {
            addCriterion("message_timeout_time is not null");
            return (Criteria) this;
        }

        public Criteria andMessageTimeoutTimeEqualTo(String value) {
            addCriterion("message_timeout_time =", value, "messageTimeoutTime");
            return (Criteria) this;
        }

        public Criteria andMessageTimeoutTimeNotEqualTo(String value) {
            addCriterion("message_timeout_time <>", value, "messageTimeoutTime");
            return (Criteria) this;
        }

        public Criteria andMessageTimeoutTimeGreaterThan(String value) {
            addCriterion("message_timeout_time >", value, "messageTimeoutTime");
            return (Criteria) this;
        }

        public Criteria andMessageTimeoutTimeGreaterThanOrEqualTo(String value) {
            addCriterion("message_timeout_time >=", value, "messageTimeoutTime");
            return (Criteria) this;
        }

        public Criteria andMessageTimeoutTimeLessThan(String value) {
            addCriterion("message_timeout_time <", value, "messageTimeoutTime");
            return (Criteria) this;
        }

        public Criteria andMessageTimeoutTimeLessThanOrEqualTo(String value) {
            addCriterion("message_timeout_time <=", value, "messageTimeoutTime");
            return (Criteria) this;
        }

        public Criteria andMessageTimeoutTimeLike(String value) {
            addCriterion("message_timeout_time like", value, "messageTimeoutTime");
            return (Criteria) this;
        }

        public Criteria andMessageTimeoutTimeNotLike(String value) {
            addCriterion("message_timeout_time not like", value, "messageTimeoutTime");
            return (Criteria) this;
        }

        public Criteria andMessageTimeoutTimeIn(List<String> values) {
            addCriterion("message_timeout_time in", values, "messageTimeoutTime");
            return (Criteria) this;
        }

        public Criteria andMessageTimeoutTimeNotIn(List<String> values) {
            addCriterion("message_timeout_time not in", values, "messageTimeoutTime");
            return (Criteria) this;
        }

        public Criteria andMessageTimeoutTimeBetween(String value1, String value2) {
            addCriterion("message_timeout_time between", value1, value2, "messageTimeoutTime");
            return (Criteria) this;
        }

        public Criteria andMessageTimeoutTimeNotBetween(String value1, String value2) {
            addCriterion("message_timeout_time not between", value1, value2, "messageTimeoutTime");
            return (Criteria) this;
        }

        public Criteria andFailReasonIsNull() {
            addCriterion("fail_reason is null");
            return (Criteria) this;
        }

        public Criteria andFailReasonIsNotNull() {
            addCriterion("fail_reason is not null");
            return (Criteria) this;
        }

        public Criteria andFailReasonEqualTo(String value) {
            addCriterion("fail_reason =", value, "failReason");
            return (Criteria) this;
        }

        public Criteria andFailReasonNotEqualTo(String value) {
            addCriterion("fail_reason <>", value, "failReason");
            return (Criteria) this;
        }

        public Criteria andFailReasonGreaterThan(String value) {
            addCriterion("fail_reason >", value, "failReason");
            return (Criteria) this;
        }

        public Criteria andFailReasonGreaterThanOrEqualTo(String value) {
            addCriterion("fail_reason >=", value, "failReason");
            return (Criteria) this;
        }

        public Criteria andFailReasonLessThan(String value) {
            addCriterion("fail_reason <", value, "failReason");
            return (Criteria) this;
        }

        public Criteria andFailReasonLessThanOrEqualTo(String value) {
            addCriterion("fail_reason <=", value, "failReason");
            return (Criteria) this;
        }

        public Criteria andFailReasonLike(String value) {
            addCriterion("fail_reason like", value, "failReason");
            return (Criteria) this;
        }

        public Criteria andFailReasonNotLike(String value) {
            addCriterion("fail_reason not like", value, "failReason");
            return (Criteria) this;
        }

        public Criteria andFailReasonIn(List<String> values) {
            addCriterion("fail_reason in", values, "failReason");
            return (Criteria) this;
        }

        public Criteria andFailReasonNotIn(List<String> values) {
            addCriterion("fail_reason not in", values, "failReason");
            return (Criteria) this;
        }

        public Criteria andFailReasonBetween(String value1, String value2) {
            addCriterion("fail_reason between", value1, value2, "failReason");
            return (Criteria) this;
        }

        public Criteria andFailReasonNotBetween(String value1, String value2) {
            addCriterion("fail_reason not between", value1, value2, "failReason");
            return (Criteria) this;
        }

        public Criteria andRetryTimesIsNull() {
            addCriterion("retry_times is null");
            return (Criteria) this;
        }

        public Criteria andRetryTimesIsNotNull() {
            addCriterion("retry_times is not null");
            return (Criteria) this;
        }

        public Criteria andRetryTimesEqualTo(Integer value) {
            addCriterion("retry_times =", value, "retryTimes");
            return (Criteria) this;
        }

        public Criteria andRetryTimesNotEqualTo(Integer value) {
            addCriterion("retry_times <>", value, "retryTimes");
            return (Criteria) this;
        }

        public Criteria andRetryTimesGreaterThan(Integer value) {
            addCriterion("retry_times >", value, "retryTimes");
            return (Criteria) this;
        }

        public Criteria andRetryTimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("retry_times >=", value, "retryTimes");
            return (Criteria) this;
        }

        public Criteria andRetryTimesLessThan(Integer value) {
            addCriterion("retry_times <", value, "retryTimes");
            return (Criteria) this;
        }

        public Criteria andRetryTimesLessThanOrEqualTo(Integer value) {
            addCriterion("retry_times <=", value, "retryTimes");
            return (Criteria) this;
        }

        public Criteria andRetryTimesIn(List<Integer> values) {
            addCriterion("retry_times in", values, "retryTimes");
            return (Criteria) this;
        }

        public Criteria andRetryTimesNotIn(List<Integer> values) {
            addCriterion("retry_times not in", values, "retryTimes");
            return (Criteria) this;
        }

        public Criteria andRetryTimesBetween(Integer value1, Integer value2) {
            addCriterion("retry_times between", value1, value2, "retryTimes");
            return (Criteria) this;
        }

        public Criteria andRetryTimesNotBetween(Integer value1, Integer value2) {
            addCriterion("retry_times not between", value1, value2, "retryTimes");
            return (Criteria) this;
        }

        public Criteria andCreatedDateIsNull() {
            addCriterion("created_date is null");
            return (Criteria) this;
        }

        public Criteria andCreatedDateIsNotNull() {
            addCriterion("created_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedDateEqualTo(Date value) {
            addCriterion("created_date =", value, "createdDate");
            return (Criteria) this;
        }

        public Criteria andCreatedDateNotEqualTo(Date value) {
            addCriterion("created_date <>", value, "createdDate");
            return (Criteria) this;
        }

        public Criteria andCreatedDateGreaterThan(Date value) {
            addCriterion("created_date >", value, "createdDate");
            return (Criteria) this;
        }

        public Criteria andCreatedDateGreaterThanOrEqualTo(Date value) {
            addCriterion("created_date >=", value, "createdDate");
            return (Criteria) this;
        }

        public Criteria andCreatedDateLessThan(Date value) {
            addCriterion("created_date <", value, "createdDate");
            return (Criteria) this;
        }

        public Criteria andCreatedDateLessThanOrEqualTo(Date value) {
            addCriterion("created_date <=", value, "createdDate");
            return (Criteria) this;
        }

        public Criteria andCreatedDateIn(List<Date> values) {
            addCriterion("created_date in", values, "createdDate");
            return (Criteria) this;
        }

        public Criteria andCreatedDateNotIn(List<Date> values) {
            addCriterion("created_date not in", values, "createdDate");
            return (Criteria) this;
        }

        public Criteria andCreatedDateBetween(Date value1, Date value2) {
            addCriterion("created_date between", value1, value2, "createdDate");
            return (Criteria) this;
        }

        public Criteria andCreatedDateNotBetween(Date value1, Date value2) {
            addCriterion("created_date not between", value1, value2, "createdDate");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNull() {
            addCriterion("created_by is null");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNotNull() {
            addCriterion("created_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedByEqualTo(String value) {
            addCriterion("created_by =", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotEqualTo(String value) {
            addCriterion("created_by <>", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThan(String value) {
            addCriterion("created_by >", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThanOrEqualTo(String value) {
            addCriterion("created_by >=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThan(String value) {
            addCriterion("created_by <", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThanOrEqualTo(String value) {
            addCriterion("created_by <=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLike(String value) {
            addCriterion("created_by like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotLike(String value) {
            addCriterion("created_by not like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByIn(List<String> values) {
            addCriterion("created_by in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotIn(List<String> values) {
            addCriterion("created_by not in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByBetween(String value1, String value2) {
            addCriterion("created_by between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotBetween(String value1, String value2) {
            addCriterion("created_by not between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andUpdatedDateIsNull() {
            addCriterion("updated_date is null");
            return (Criteria) this;
        }

        public Criteria andUpdatedDateIsNotNull() {
            addCriterion("updated_date is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatedDateEqualTo(Date value) {
            addCriterion("updated_date =", value, "updatedDate");
            return (Criteria) this;
        }

        public Criteria andUpdatedDateNotEqualTo(Date value) {
            addCriterion("updated_date <>", value, "updatedDate");
            return (Criteria) this;
        }

        public Criteria andUpdatedDateGreaterThan(Date value) {
            addCriterion("updated_date >", value, "updatedDate");
            return (Criteria) this;
        }

        public Criteria andUpdatedDateGreaterThanOrEqualTo(Date value) {
            addCriterion("updated_date >=", value, "updatedDate");
            return (Criteria) this;
        }

        public Criteria andUpdatedDateLessThan(Date value) {
            addCriterion("updated_date <", value, "updatedDate");
            return (Criteria) this;
        }

        public Criteria andUpdatedDateLessThanOrEqualTo(Date value) {
            addCriterion("updated_date <=", value, "updatedDate");
            return (Criteria) this;
        }

        public Criteria andUpdatedDateIn(List<Date> values) {
            addCriterion("updated_date in", values, "updatedDate");
            return (Criteria) this;
        }

        public Criteria andUpdatedDateNotIn(List<Date> values) {
            addCriterion("updated_date not in", values, "updatedDate");
            return (Criteria) this;
        }

        public Criteria andUpdatedDateBetween(Date value1, Date value2) {
            addCriterion("updated_date between", value1, value2, "updatedDate");
            return (Criteria) this;
        }

        public Criteria andUpdatedDateNotBetween(Date value1, Date value2) {
            addCriterion("updated_date not between", value1, value2, "updatedDate");
            return (Criteria) this;
        }

        public Criteria andUpdatedByIsNull() {
            addCriterion("updated_by is null");
            return (Criteria) this;
        }

        public Criteria andUpdatedByIsNotNull() {
            addCriterion("updated_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatedByEqualTo(String value) {
            addCriterion("updated_by =", value, "updatedBy");
            return (Criteria) this;
        }

        public Criteria andUpdatedByNotEqualTo(String value) {
            addCriterion("updated_by <>", value, "updatedBy");
            return (Criteria) this;
        }

        public Criteria andUpdatedByGreaterThan(String value) {
            addCriterion("updated_by >", value, "updatedBy");
            return (Criteria) this;
        }

        public Criteria andUpdatedByGreaterThanOrEqualTo(String value) {
            addCriterion("updated_by >=", value, "updatedBy");
            return (Criteria) this;
        }

        public Criteria andUpdatedByLessThan(String value) {
            addCriterion("updated_by <", value, "updatedBy");
            return (Criteria) this;
        }

        public Criteria andUpdatedByLessThanOrEqualTo(String value) {
            addCriterion("updated_by <=", value, "updatedBy");
            return (Criteria) this;
        }

        public Criteria andUpdatedByLike(String value) {
            addCriterion("updated_by like", value, "updatedBy");
            return (Criteria) this;
        }

        public Criteria andUpdatedByNotLike(String value) {
            addCriterion("updated_by not like", value, "updatedBy");
            return (Criteria) this;
        }

        public Criteria andUpdatedByIn(List<String> values) {
            addCriterion("updated_by in", values, "updatedBy");
            return (Criteria) this;
        }

        public Criteria andUpdatedByNotIn(List<String> values) {
            addCriterion("updated_by not in", values, "updatedBy");
            return (Criteria) this;
        }

        public Criteria andUpdatedByBetween(String value1, String value2) {
            addCriterion("updated_by between", value1, value2, "updatedBy");
            return (Criteria) this;
        }

        public Criteria andUpdatedByNotBetween(String value1, String value2) {
            addCriterion("updated_by not between", value1, value2, "updatedBy");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}